import axios from "./axios"

export default {
    // admin登录
    adminLogin: (data) => {
        return axios({
            method: "post",
            url: "admin/login",
            data
        })
    },
    // 教师
    teacherLogin: (data) => {
        return axios({
            method: "post",
            url: "teacher/login",
            data
        })
    },
    // 学生
    studentLogin: (data) => {
        return axios({
            method: "post",
            url: "student/login",
            data
        })
    },
}